/**
 * 
 */
package com.linkage.lcims.base.service.cdma.impl;

import com.linkage.lcims.base.dao.cdma.interfaces.OnlineDAO;
import com.linkage.lcims.base.service.system.interfaces.AdminLogBO;
import com.linkage.lcims.base.service.cdma.interfaces.OnlineBaseBO;
import com.linkage.util.exception.ServiceException;
import com.linkage.util.log.Logger;



/**
 * 
 * 
 */
public abstract class OnlineBaseBOImpl implements OnlineBaseBO {
	
	protected static String tablePrefix="C_ONLINE";

	protected Logger log=Logger.getLogger(this.getClass());
	
	protected OnlineDAO onlineDAO;
	
	protected AdminLogBO adminLogBO;
	
	protected String message;

	
	
	public void deleteSubmit(String imsi) throws ServiceException {
		try {
			onlineDAO.deletePdsnOnlineByImsi(imsi);
		} catch (Exception e) {
			throw new ServiceException(e, this.getClass());
		}
	}

	public Logger getLog() {
		return log;
	}

	public void setLog(Logger log) {
		this.log = log;
	}


	public AdminLogBO getAdminLogBO() {
		return adminLogBO;
	}

	public void setAdminLogBO(AdminLogBO adminLogBO) {
		this.adminLogBO = adminLogBO;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public OnlineDAO getOnlineDAO() {
		return onlineDAO;
	}

	public void setOnlineDAO(OnlineDAO onlineDAO) {
		this.onlineDAO = onlineDAO;
	}

	
	
}
